/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.OCPviolation.impl;

import za.ac.cput.OCPviolation.Boxes;

/**
 *
 * @author Enkosi
 */
public class BoxesImpl implements Boxes{
    private int length;
    private int width;
    
    @Override
    public int calcPerimeter(int length, int width) {
        return ((length + width) * 2);
    }

    /**
     * @return the length
     */
    public int getLength() {
        return length;
    }

    /**
     * @param length the length to set
     */
    public void setLength(int length) {
        this.length = length;
    }

    /**
     * @return the width
     */
    public int getWidth() {
        return width;
    }

    /**
     * @param width the width to set
     */
    public void setWidth(int width) {
        this.width = width;
    }
    
}
